
from datetime import datetime
from typing import List
from unicodedata import decimal
from pydantic import BaseModel

#参数定义
class ParamDetail(BaseModel):
    Key:str = ""
    Value:str = ""

# 定义一个模型来接收JSON数据  
class ClientHisParam(BaseModel):  
    ClientName: str = ""
    ComName: str  = ""  
    Remarks: str  = ""  
    Day: str  = ""  
    Count:int = 0 
    CountA:int = 0 
    CountB:int = 0 
    CountC:int = 0 
    CountD:int = 0 


#获取系统参数接口返回信息定义
class ClientHisResponse(BaseModel):
    Code:int = 0
    Msg:str = ""
    Id:int = 0

#获取基础监控数接口返回信息定义
class GetlientHisInfoResponse(BaseModel):
    Code:int = 0
    Msg:str = ""
    Data:List[ClientHisParam] = []